﻿using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Furion.CMS.Application
{
    /// <summary>
    /// 应用服务启动配置
    /// </summary>
    [AppStartup(97)]
    public sealed class ServiceStartup : AppStartup
    {
        public void ConfigureServices(IServiceCollection services)
        {
            services.AddEventBus();
            // 注册端点请求服务
            services.AddRemoteRequest();
        }

        public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
        {

        }
    }
}
